package cn.calm.transaction;

import org.apache.struts2.osgi.proxy.OsgiObjectWrap;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;

public class Activator implements BundleActivator {
	public BundleContext context;

	@Override
	public void start(BundleContext context) throws Exception {
		this.context=context;
		TransactionOsgiObjectWrap service=new TransactionOsgiObjectWrap();
		context.registerService(OsgiObjectWrap.class, service, null);
	}

	@Override
	public void stop(BundleContext arg0) throws Exception {

	}

}
